package cn.jiyun.entity.day05;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Title: Compent
 * @Author 王鸽
 * @Date 2023/8/9 16:00
 */
@Data
@TableName(value = "compet")
@ToString
public class Compent {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String cid;
    private String tally;
    private Integer peoplenum;
    private String jindu;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date opentime;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endtime;
    private String sort;
    private String status;
    private String jifen;
    private String dati;
    private String haibao;
    private String gonggao;
    private String photo;
    private String people;
    private Integer bao;
    private Integer tid;
}
